package com.anthonybennis.blender.client.pages.keyboard;

import java.util.Comparator;

/**
 * 
 * @author abennis
 */
public class ShortCutsComparator implements Comparator<String[]> 
{	
	@Override
	public int compare(String[] shortCutsData1, String[] shortCutsData2) 
	{
		
		String shortcutHeader1 = shortCutsData1[0];
		String shortcutHeader2 = shortCutsData2[0];
		
		if (shortcutHeader1.contains("Cancel")
				|| shortcutHeader2.contains("Cancel"))
		{
			int comareres = shortcutHeader1.compareTo(shortcutHeader2); 
		}
		
		
		return shortcutHeader1.compareTo(shortcutHeader2);
	}
}
